package com.zyb.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zyb.dao.UserDao;
import com.zyb.pojo.User;
import com.zyb.service.UserService;

@Service
public class UserServiceImpl implements UserService {
	
	@Resource
	private UserDao userMapper;

	@Override
	public User selectUser(String username, String password) {
		
		return userMapper.selectUser(username, password);
	}

}
